package com.whli.jee.system.service.impl;

import com.whli.jee.common.web.dao.IBaseDao;
import com.whli.jee.common.web.service.impl.BaseServiceImpl;
import com.whli.jee.system.dao.ISysSequenceDetailDao;
import com.whli.jee.system.entity.SysSequenceDetail;
import com.whli.jee.system.service.ISysSequenceDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * <em>类或方法作用描述</em>
 * @author whli
 * @version 2018/9/4 9:26
 * */
@Service("sysSequenceDetailService")
public class SysSequenceDetailServiceImpl extends BaseServiceImpl<SysSequenceDetail> implements ISysSequenceDetailService {

	@Autowired
	private ISysSequenceDetailDao sysSequenceDetailDao;

	@Override
	public IBaseDao<SysSequenceDetail> getDao() {
		return sysSequenceDetailDao;
	}

	@Override
	public SysSequenceDetail getByParentIdAndSort(SysSequenceDetail entity) {
		return sysSequenceDetailDao.getByParentIdAndSort(entity);
	}
}
